const userService = require("../service/userService");

const getUserList = async (ctx, next) => {
  let res = await userService.getUserList();
  ctx.body = {
    code: res.code,
    message: res.message,
    data: res.data,
  };
};

module.exports = {
  getUserList,
};
